package com.yan.springcloud.service;

import com.yan.springcloud.pojo.Dept;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface DeptService {
    public boolean addDept(Dept dept);

    public Dept queryById(Long deptno);

    public List<Dept> queryAll();
}
